<template>
  <LayTreeSelect :data="options" v-model="modelValue" v-if="options" class="tree_select"/>
</template>

<script lang="ts" setup>
import { LayTreeSelect } from '@layui/layui-vue';
import type { TreeOptionItem } from 'aoe';

defineProps<{
  options?: TreeOptionItem[];
}>();

const modelValue = defineModel();
</script>

<style scoped></style>
